home *** CD-ROM | disk | FTP | other *** search
/ Air Power - The US Air Force in Action / Air Power - The US Air Force In Action.iso / history / vcntrlbr / testbar.vmn < prev    next >
Text File  |  1995-06-07  |  4KB  |  143 lines

  1. <vmenu id=testbar>
  2. <title>History Toolbar</title>
  3. <action startshow> 
  4.     prev:disable 
  5.     prev:state auto_off
  6.     next:disable       
  7.     next:state auto_off
  8.     cntrlbar:state auto
  9. <action capfilename params=file>
  10.     cap:filename %file%
  11. <action hltfilename params=file>
  12.     text:filename %file%
  13. <action firstframe>
  14.     prev:off
  15.     next:on
  16. <action midframe>
  17.     prev:on
  18.     next:on
  19. <action lastframe>
  20.     prev:on
  21.     next:off
  22. <action onlyframe>
  23.     prev:off
  24.     next:off
  25. <action endshow>
  26.         stop:disable
  27.     play:disable
  28.     cntrlbar:state manual
  29.     
  30. <action "auto begin">
  31.     stop:enable
  32.     play:disable
  33.     prev:auto
  34.     next:auto
  35. <action "auto timer">
  36.     cntrlbar:next
  37. <action "auto audioend">
  38.     cntrlbar:next
  39. <action "auto prevbutton">
  40.     cntrlbar:prev
  41. <action "auto nextbutton">
  42.     cntrlbar:next
  43. <action "auto stopbutton"> 
  44.     stop:disable
  45.     play:enable
  46.     cntrlbar:state manual
  47.     cntrlbar:stop
  48.  
  49. <action "manual begin">
  50.     prev:manual
  51.     next:manual
  52. <action "manual playbutton">
  53.     cntrlbar:state auto
  54.     cntrlbar:next
  55. <action "manual prevbutton">
  56.     cntrlbar:prev
  57. <action "manual nextbutton">
  58.     cntrlbar:next
  59. </action>
  60.  
  61. <graphicitem background size=30,180 fit=clip path=\history\vcntrlbr\vcntrlbr.bmp>
  62.  
  63. <button stop position=0,0 size=30,30 command="cntrlbar:stopbutton"
  64.     section="enabled 120,0; entered 120,0; selected 150,0; disabled 90,0">
  65.  
  66. <button play position=0,30 size=30,30 command="cntrlbar:playbutton"
  67.     section="enabled 120,30; entered 120,30; selected 150,30; disabled 90,30">
  68.  
  69. <button prev position=0,90 size=30,30 command="cntrlbar:prevbutton"
  70.     section="enabled 120,90; entered 120,90; selected 150,90; disabled 90,90">
  71. <action "manual_on begin">
  72.     prev:enable
  73. <action "manual_on end">
  74.     prev:disable       
  75. <action "manual_on off">
  76.     prev:state manual_off       
  77. <action "manual_on auto">
  78.     prev:state auto_on 
  79.           
  80. <action "manual_off on">
  81.     prev:state manual_on       
  82. <action "manual_off auto">
  83.     prev:state auto_off       
  84.  
  85. <action "auto_on off">
  86.     prev:state auto_off       
  87. <action "auto_on manual">
  88.     prev:state manual_on       
  89.  
  90. <action "auto_off on">
  91.     prev:state auto_on       
  92. <action "auto_off manual">
  93.     prev:state manual_off       
  94. </button>
  95.  
  96. <button next position=0,60 size=30,30 command="cntrlbar:nextbutton"
  97.     section="enabled 120,60; entered 120,60; selected 150,60; disabled 90,60">
  98. <action "manual_on begin">
  99.     next:enable 
  100.     play:enable
  101. <action "manual_on end">
  102.     next:disable       
  103. <action "manual_on off">
  104.     next:state manual_off       
  105. <action "manual_on auto">
  106.     next:state auto_on 
  107.           
  108. <action "manual_off on">
  109.     next:state manual_on       
  110. <action "manual_off auto">
  111.     next:state auto_off       
  112.  
  113. <action "auto_on off">
  114.     next:state auto_off       
  115. <action "auto_on manual">
  116.     next:state manual_on       
  117.  
  118. <action "auto_off on">
  119.     next:state auto_on       
  120. <action "auto_off manual">
  121.     next:state manual_off       
  122. </button>
  123.  
  124. <button cap position=0,120 size=30,30
  125.     section="enabled 120,120; entered 120,120; selected 150,120; disabled 90,120">
  126. <action filename params=file>
  127.  
  128. <action click>
  129.     cntrlbar:stopbutton
  130.     view:open \history\vcntrlbr\caption.vct %file%
  131. </button>
  132.  
  133. <button text position=0,150 size=30,30 
  134.     section="enabled 120,150; entered 120,150; selected 150,150; disabled 90,150">
  135. <action filename params=file>
  136.  
  137. <action click>
  138.     cntrlbar:stopbutton
  139.     view:popup \history\vcntrlbr\text.vct %file%
  140. </button>
  141. </vmenu>
  142. 
  143.